home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-09-22 | 1.2 KB | 34 lines | [TEXT/MPS ] |
- # InstallUpdate
- # Generate duplicate commands and optionally delete unnecessary files
- # for the Symantec C++ for MPW 6.0.1 update.
- #
- # Copyright © 1993 Symantec Corporation. All Rights Reserved.
-
- Set Exit 0
- Set temp `GetFileName -d -b "Select"`
- If {Status} == 0
- Confirm "Remove obsolete IOStreams and old streams sources?"
- If {Status} == 0
- Delete "{SCLibraries}"SCSrcLibCpp:iosst[1-5].cpp
- Delete "{SCLibraries}"SCSrcLibCpp:in.cpp
- Delete "{SCLibraries}"SCSrcLibCpp:out.cpp
- Delete "{SCLibraries}"SCSrcLibCpp:circbuf.cpp
- Delete "{SCLibraries}"SCSrcLibCpp:filebuf.cpp
- Delete "{SCLibraries}"SCSrcLibCpp:stream.cpp
- End
-
- # optionally install new version of some MacApp tools
- Confirm "Install new version of MABuildTool and related files?"
- If {Status} == 0
- Duplicate -y "{temp}"MacApp:'Build Rules and Dependencies' "{MacApp}"Tools:
- Duplicate -y "{temp}"MacApp:MAbuildTool "{MacApp}"Tools:
- Duplicate -y "{temp}"MacApp:MABuildTool.p "{MacApp}"Tools:
- End
-
- # generate Duplicate commands for the new/updates components
- Backup -a -from "{temp}"SCIncludes: -to "{SCIncludes}"
- Backup -a -r -from "{temp}"SCLibraries: -to "{SCLibraries}"
- Backup -a -from "{temp}"SCBin: -to "{SCBin}"
- End
- Set Exit 1
-